package com.park.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.park.dao.FeeoperatortouserMapper;
import com.park.model.Feeoperatortouser;
import com.park.service.FeeoperatortouserService;

@Service
public class FeeoperatortouserServiceImpl implements FeeoperatortouserService{

	@Autowired
	FeeoperatortouserMapper feeoperatortousermapper;

	@Override
	public int deleteByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return feeoperatortousermapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(Feeoperatortouser record) {
		// TODO Auto-generated method stub
		return feeoperatortousermapper.insert(record);
	}

	@Override
	public int insertSelective(Feeoperatortouser record) {
		// TODO Auto-generated method stub
		return feeoperatortousermapper.insertSelective(record);
	}

	@Override
	public Feeoperatortouser selectByPrimaryKey(Integer id) {
		// TODO Auto-generated method stub
		return feeoperatortousermapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(Feeoperatortouser record) {
		// TODO Auto-generated method stub
		return feeoperatortousermapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(Feeoperatortouser record) {
		// TODO Auto-generated method stub
		return feeoperatortousermapper.updateByPrimaryKey(record);
	}

	@Override
	public List<Map<String, Object>> selectPosInfoByuserId(int userId) {
		// TODO Auto-generated method stub
		return feeoperatortousermapper.selectPosInfoByuserId(userId);
	}

	@Override
	public List<Map<String, Object>> selectFeeOperatorInfoByuserId(int userId) {
		// TODO Auto-generated method stub
		return feeoperatortousermapper.selectFeeOperatorInfoByuserId(userId);
	}
	
}
